namespace IMPlant.Core.Web.Control
{
    using System;
    using System.ComponentModel;

    [TypeConverter(typeof(ExpandableObjectConverter)), ToolboxItem(false)]
    public class CustomPagerSettings
    {
        private IMPlant.Core.Web.Control.PagingMode _pagingMode;
        private string _textFormat;

        public override string ToString()
        {
            return "";
        }

        [Description("自定义分页的显示模式"), NotifyParentProperty(true), Category("扩展属性"), DefaultValue(typeof(IMPlant.Core.Web.Control.PagingMode), "Default")]
        public virtual IMPlant.Core.Web.Control.PagingMode PagingMode
        {
            get
            {
                return this._pagingMode;
            }
            set
            {
                this._pagingMode = value;
            }
        }

        [NotifyParentProperty(true), Description("自定义分页的文本显示样式"), Category("扩展属性")]
        public virtual string TextFormat
        {
            get
            {
                return this._textFormat;
            }
            set
            {
                this._textFormat = value;
            }
        }
    }
}

